|
|
Problem : can't use atan() float function
This one line :
#declare test=atan(1);
Gives this :
#declare test=atan <----ERROR
Parse Error: Expected 'RValue to declare', atan found instead
... and this one-liner :
#declare test=1+atan(1);
Gives this :
#declare test=1+atan <----ERROR
Parse Error: Expected 'numeric expression', atan found instead
Workaround : use atan2(,) which works fine
Sys info :
POV-Ray 3.5 b1
Win 2k pro sp2
Ahtlon 1.2 GHz
512 MB DDR
Sorry if this is documented somewhere, I did not RTFM completely (but I did
an "atan" search on the doc and here)
Povingly,
Philippe
Post a reply to this message
|
|